﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="checkout.aspx.vb" Inherits="Project4CL.checkout" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../Login/mallStyles.css" />
</head>
<body>
   <form id="form1" runat="server">
<div id="header">
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<img src="http://cis-iis2.temple.edu/Fall2011/434202/TermProjectCL/mallLogo.gif" />
    <div id="logout">
        Welcome <asp:Label runat="server" ID="lblUser"></asp:Label>
        <br />
        <asp:Button ID="btnLogout" runat="server" Text="Logout" />
    </div>
</div>
<div id="inLeftCol">
</div>
   <div id="centerContent">
        <div id="cartCheckout">
        <asp:Label ID="lblInfo" runat="server" visible="false" ForeColor="Red"></asp:Label>
        <br /><br />
            <asp:GridView ID="gvCart" runat="server" AutoGenerateColumns="false" ShowFooter="true" FooterStyle-ForeColor="Black">
                <Columns>
                    <asp:TemplateField HeaderText="Select?" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:CheckBox ID="chkSelProd" runat="server" Checked="false" AutoPostBack="false"/>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="Description" ItemStyle-Width="175px" ItemStyle-HorizontalAlign="Center" HeaderText="Description" />
                    <asp:BoundField DataField="Price" HeaderText="Price" HtmlEncode="false" ApplyFormatInEditMode="True" DataFormatString="{0:C}" />
                    <asp:BoundField DataField="quantityOrd" HEadertext="Quantity" ItemStyle-HorizontalAlign="Center" />
                    <asp:BoundField DataField="total" HeaderText="Total" HtmlEncode="false" ApplyFormatInEditMode="True" ItemStyle-HorizontalAlign="Center" DataFormatString="{0:C}" />
                    <asp:TemplateField headertext="Update Qty" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:TextBox ID="txtUpdQty"  runat="server" Width="40px"></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <br />
            <asp:Button ID="btnUpdate" runat="server" Text="Update" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            <asp:Button ID="btnDelete" runat="server" Text="Delete" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
             <asp:Button ID="btnEmptyCart" runat="server" Text="Empty Cart" /> 
            <br />

            <br />
            <asp:Button ID="btnSubmit" runat="server" Text="Submit Order" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
           
            <asp:Button ID="btnContShop" runat="server" Text="Add More Items" />
        </div>
    
   </div>
   </form>
</body>
</html>
